package com.hfmall.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = {"handler"})
public class HfOrderitem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String no;

    private BigDecimal price;

    private Integer number;

    private BigDecimal sum;

    private Integer orderId;

    private String stock;

    @TableField(exist = false)
    private HfGoods goods;

    @TableField(exist = false)
    HfGoodsinfo goodsinfo;


}
